package com.dailyyoga.common;

import com.google.analytics.tracking.android.Fields;
import com.google.analytics.tracking.android.MapBuilder;
import com.google.analytics.tracking.android.Tracker;

import android.support.v4.app.Fragment;

public class BasicTrackFragment extends Fragment {

	public void onStart() {
		Tracker easyTracker = BasicActivity.getTrackerInstence(getActivity());
		easyTracker.set(Fields.SCREEN_NAME, getClass().getSimpleName());
		easyTracker.send(MapBuilder.createAppView().build());
		super.onStart();
	}
}
